import React, { Component ,createContext } from 'react'
let {Provider,Consumer} = createContext();
class MyContext extends Component {
    render() {
        return (
            <div>
                <Provider>
                {this.props.children}
                </Provider>
            </div>
        )
    }
}
export {MyContext,Consumer}